Skip to main content

Adding New Users

It is hoped that this will be replaced with a proper LDAP/Kerberos setup in the near future.

  1. Request user to generate ed25519 keypair on their own machine using the following command:
ssh-keypair -t ed25519 -C "alias@tcd.ie"
  1. Fill in the information in Users section for the new user

  2. Create the user account. Fill in their name, and room number to be 4074a The rest of the details can be left blank.

adduser alias
  1. If appropriate, add the user to the sudo group (Ensure : follows the name of the server in the Users file) with a temporary password
adduser alias sudo
  1. Login as the user and add their key to their authorized_keys (Create it if it doesn't exist)
su alias
mkdir ~/.ssh
vi ~/.ssh/authorized_keys
  1. Set their password to expire on login
passwd --expire alias
  1. Email the user with a link to this documentation.